package com.spc.dao;

import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

public interface HealthPlanDao {
    void add(Map map);

    Page<Map<Object, Object>> findByCondition(String queryString);

    Map findById(Integer id);

    void edit(Map map);

    void deleteById(Integer id);

    Integer findByName(String name);

    void updateDepartments(Map map);

    void addDepartments(Map map);

    List<Map> findAllDepartments();


}
